home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Keyboard
/
Keyboard Messages
/
CommandKeyMessage.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-06-28
|
392 b
|
29 lines
|
[
TEXT/CWIE
]
// CommandKeyMessage.h
#ifndef CommandKeyMessage_h
#define CommandKeyMessage_h
#ifndef KeyMessage_h
#include "KeyMessage.h"
#endif
#ifndef Key_h
#include "Key.h"
#endif
class CommandKeyMessage: public KeyMessage
{
private:
::Key key;
public:
CommandKeyMessage( ::Key k )
: key( k )
{}
::Key Key() const { return key; }
virtual void Send() const;
};
#endif